home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Tools - Objects / Virtual User 1.0 / Virtual User / MPW Scripts / SetLogFile_vu < prev    next >
Text File  |  1991-01-25  |  517b  |  29 lines

  1. #
  2. #    File:        SetLogFile_vu
  3. #
  4. #    Contains:    Puts up a stdfile dialog asking the user to choose a file
  5. #                for the log output of the script.
  6. #
  7. #
  8. #    Written by:    P Nagarajan
  9. #
  10. #    Copyright:    © 1989 by Apple Computer, Inc., all rights reserved.
  11. #
  12. #    Change History:
  13. #
  14. #         6/5/89       naga        creation
  15. #
  16. #    To Do:
  17. #
  18.  
  19. SET Exit 0
  20. SET TempVar ''
  21. SET TempVar "`GETFILENAME -p -m 'Please enter log file name:'`"
  22. IF ("{TempVar}" != '')
  23.     SET VULogFile {TempVar}
  24.     TARGET "{VUSettings}"
  25.     FIND 5
  26.     ECHO {TempVar} > §
  27.     CLOSE -y "{VUSettings}"
  28. END
  29.